package com.dao.student.imp;


import javax.annotation.Resource;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.stereotype.Repository;

import com.dao.student.SorderdishDaoH;
import com.po.SorderH;
import com.po.SorderdishH;


@Repository
public class SorderdishDaoImpH implements SorderdishDaoH{

	
	@Resource(name="sqlSessionTemplate")
	private SqlSessionTemplate sqlSessionTemplate;
	
	
	@Override
	public int addOrderdish(SorderH orderdish) {
		// TODO Auto-generated method stub
		
		return sqlSessionTemplate.insert("addOrderdish",orderdish);
	}

}
